API Documentation
Public Member Functions | Public Attributes | List of all members
nkGraphics::DecodedEntityData Struct Referencefinal

Holds data about a decoded entity. More...

Public Member Functions

 DecodedEntityData ()
 
 DecodedEntityData (const DecodedEntityData &other)
 
 DecodedEntityData (DecodedEntityData &&other)
 
 ~DecodedEntityData ()
 
DecodedEntityDataoperator= (const DecodedEntityData &other)
 
DecodedEntityDataoperator= (DecodedEntityData &&other)
 

Public Attributes

nkMemory::BufferCast< unsigned int > _meshIndices
 The set of meshes contained, as indices pointing to their DecodedMeshData set counterpart.
 
nkMemory::BufferCast< unsigned int > _materialIndices
 The set of materials contained, as indices pointing to their DecodedMaterialData set counterpart.
 

Detailed Description

Holds data about a decoded entity.

An entity links a set of meshes, to a set of materials.

Constructor & Destructor Documentation

◆ DecodedEntityData() [1/3]

nkGraphics::DecodedEntityData::DecodedEntityData ( )

Default constructor.

◆ DecodedEntityData() [2/3]

nkGraphics::DecodedEntityData::DecodedEntityData ( const DecodedEntityData other)

Copy constructor.

Parameters
otherThe data to copy from.

◆ DecodedEntityData() [3/3]

nkGraphics::DecodedEntityData::DecodedEntityData ( DecodedEntityData &&  other)

Move constructor.

Parameters
otherThe data to move over.

◆ ~DecodedEntityData()

nkGraphics::DecodedEntityData::~DecodedEntityData ( )

Destructor.

Member Function Documentation

◆ operator=() [1/2]

DecodedEntityData& nkGraphics::DecodedEntityData::operator= ( const DecodedEntityData other)

Assignment copy operator.

Parameters
otherThe data to copy from.

◆ operator=() [2/2]

DecodedEntityData& nkGraphics::DecodedEntityData::operator= ( DecodedEntityData &&  other)

Assignment move operator.

Parameters
otherThe data to move over.

The documentation for this struct was generated from the following file: